@foreach(['success','danger'] as $mes)
    @if(session() -> has($mes))
        <div class="alert alert-{{$mes}}" role="alert">
            <strong>{{session() -> get($mes)}}</strong>
        </div>
    @endif
@endforeach
